html,body{width:100%;height:100%;overflow: hidden;padding:0;margin:0;}
#warp{padding: 0;margin: 0;width:100%;height:100%;overflow: hidden;position: absolute;top:0;left:0;font-size: 12px;}
body,input,select,textarea{font-family: 'microsoft yahei','Times New Roman';font-size: 12px;margin:0;}
ul,li,dl,dt,dd{padding: 0; margin: 0;}
li{list-style-type: none;}
td.error{border-bottom: 1px solid #f00!important;}
a{text-decoration: none;}
img,a img{border:none;}
.clear{clear: both;}
.hidden{display:none;}

/* current position path */
ul.path{
    background: url("../img/backend/position-path-bg.png") left bottom repeat scroll #b2e5ff;
    padding-left: 10px;
    height: 30px;
    line-height: 30px;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #fefeff;
}
ul.path li{
    float: left;
    background: url('../img/path-arrow.png') 0 0 no-repeat scroll transparent;
    padding-left: 10px;
    margin-left: 10px;
}
ul.path,
ul.path a{
    color: #0088cc;
    display: block;
    padding-left: 10px;
    text-shadow: 0 1px 0 #cceeff;
    line-height: 30px;
}
ul.path a:hover{
    text-decoration: underline;
}
ul.path li.first{
    background: url('../img/path-home.png') 0 -2px no-repeat scroll transparent;
    padding-left: 5px;
}


/* page links */
ul.pagination{margin: 0;padding: 0;clear: both;overflow: auto;}
ul.pagination li{float: left;margin: 0;line-height: 20px;}
ul.pagination li.info{border: none;margin-right: 10px;background: none;width: auto;}
ul.pagination li.active,
ul.pagination li.ellipsis,
ul.pagination li a{
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    border-right: 1px solid #95989f;
	border-top: 1px solid #95989f;
	border-bottom: 1px solid #95989f;
    font-size: 12px;
    color : #2d2d2d;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fcf6f6), to(#ccd0d9));
	background: -moz-linear-gradient(top, #fcf6f6, #ccd0d9);
}
ul.pagination li a:hover{font-weight: bold;}
ul.pagination li.active,
ul.pagination li.ellipsis{
	color: #ffffff;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3083cf), to(#3690e6));
	background: -moz-linear-gradient(top, #3083cf, #3690e6);
}
ul.pagination li.prev a,
ul.pagination li.next a,
ul.pagination li.prev.active,
ul.pagination li.next.active,
ul.pagination li.ellipsis{width:40px;padding: 0 3px;}
ul.pagination li.prev{border-left: 1px solid #95989f;}
ul.pagination li.prev,ul.pagination li.previous a{border-radius: 3px 0 0 3px;}
ul.pagination li.next,ul.pagination li.next a{border-radius: 0 3px 3px 0;}
ul.pagination li.prev.active,
ul.pagination li.next.active{color:#6f7a8c;background: #eeeeee;}
/* page links */


form.filter{
    padding: 10px;
    margin: 0;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    border-radius: 2px;
}

form.filter label{margin-left:5px;font-weight: bold;}
form.filter input.datetime{width: 80px;}
#ui-datepicker-div{font-size: 12px;}

/* 列表样式 */
table.records{
	table-layout:fixed;
	border-collapse: collapse;
	width: 100%;
	background-color: #ffffff;
}
table.records caption{
	height: 30px;
	line-height: 30px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4183c4), to(#4183c4));
	background-color: #4183c4;
    border-radius: 3px 3px 0 0;
}
table.records caption span{
	float: left;
	padding-left: 15px;
	font-weight: bold;
	color: #f0f0f0;
	/*text-shadow: 0 1px 0 #0ba4e5;*/
}
table.records caption a{
	display: block;
	float: right;
	margin-right: 15px;
}
table.records thead tr{/*background-color: #7fd9ff;*/}
table.records tbody tr:nth-child(odd){background-color: #f6feff;}
table.records tbody tr{border-top: 1px solid #f2feff;}
table.records tbody tr:hover{background-color: #e8f8ff;}
table.records tfoot tr{border-top: 1px solid #f2feff;border-bottom: 1px solid #f2feff;}

table.records td img{
    display: block;
}
table.records td{
    padding:0 10px;
    height: 25px;
	color: #424242;
}
table.records th{
    text-align: left;
    height: 25px;
    line-height: 25px;
    padding:0 10px;
}
table.records th a{color: #148ecd;}
table.records thead tr a{display: block;}
table.records thead th.asc{background: url('../img/order-asc.png') no-repeat scroll left center transparent;}
table.records thead th.desc{background: url('../img/order-desc.png') no-repeat scroll left center transparent;}


table.records tbody td.action a{
    color: #ff6600;
    display: block;
    float: left;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    margin-right:2px;
    padding: 0 5px;
    border-radius: 2px;
}

/* TAB 按钮样式 */
.tab-button{
    overflow: auto;
    background-color: #f0f0f0;
    border-radius: 3px 3px 0 0 ;
    border-top: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
	background: -moz-linear-gradient(top, #FAFAFA, #f0f0f0);
}
.tab-button li{float:left;border-right: 1px solid #e0e0e0;}
.tab-button li a{
    display: block;
    padding: 0 15px;
    height:30px;
    line-height:30px;
    color:#242529;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f0f0f0), to(#e0e0e0));
}
.tab-button li a.active{
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f0f0f0), to(#fafafa));
	background-color: #ffffff;
}
.tab-content{
    padding: 10px;
    border-bottom: 1px solid #c0c0c0;
    border-left: 1px solid #c0c0c0;
    border-right: 1px solid #c0c0c0;
	background-color: #fafafa;
}
/* TAB 按钮样式 */

/* 常规按钮样式 */
ul.button{overflow: auto;height: 30px;margin: 5px 0;}
ul.button li{float: left;margin-right: 3px;}
ul.button li a{
    font-size: 12px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    display: block;
    padding: 0 15px;
    height: 25px;
    line-height: 23px;
    background-color:#f0f0f0;
    color : #445544;
}
ul.button li a:hover{
    border: 1px solid #0088cc;
    background-color: #00aaff;
    color: #ffffff;
}
/* 常规按钮样式 */

/* form 表单样式 */
form{padding: 0;margin: 0;font-size: 12px;}
select,input,textarea{vertical-align: middle;}
form .row{background-color: #fafafb;}
form .row:nth-child(odd){background-color: #ffffff;}
form .row label{
    display: block;
    float: left;
    width: 120px;
    text-align: right;
    padding-right: 20px;
    height: 25px;
    line-height: 25px;
	color: #666667;
}
form .row textarea{font-size: 12px;width: 300px;height: 100px;}
form .special input{
    width: 30px;
    height: auto;
    line-height: normal;
    border: none;
    outline: none;
    margin: 0;
}
span.label-r,
span.label-l{
    display: inline-block;
    height: 25px;
    line-height: 25px;
}
span.label-r{
	padding-left: 5px;
	margin-left: 0px;
	margin-right: 20px;
}
span.label-l{
	padding-right: 5px;
	margin-left: 20px;
	margin-right: 0px;
}

form .error,form .row,form .button{padding: 5px 20px;}
form .button{
	padding: 10px 0 10px 160px;
	background-color: #fafafc;
}
form .button input{
    padding: 3px 25px;
    background-color: #00aaff;
    font-family: 'microsoft yahei';
    color: #43990a;
    border: 1px solid #43990a;
    cursor: pointer;
    border-radius: 5px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#f0f0f0));
	background: -moz-linear-gradient(top, #fafafa, #f0f0f0);
}

form .button input:hover{
	color: #ffffff;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#76cc3d), to(#5ecc14));
	background: -moz-linear-gradient(top, #76cc3d, #5ecc14);
}

form .row input.error{background: url('../img/input-error-bg.png') left bottom repeat-x scroll transparent;}
form .error{color: red;}
.tips{color: #aaa;font-size: 12px;}

form ul.checkbox {display: inline-block;overflow: auto;}
form ul.checkbox li{float: left;}
form ul.checkbox li a{
	color: #b36212;
	display: block;
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	background-color: #ffcc99;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffd9b2), to(#ffcc99));
}
form ul.checkbox li a.active{
	/*text-height: bold;*/
	color: #ffffff;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffbf80), to(#ffb266));
}
/* form 表单样式 */

dl.object{padding-left: 20px;font-size: 13px;font-family: 'Courier New';}
dl.object dd{padding: 2px 0 2px 10px;}
dl.object dd.left,
dl.object dd.right{padding-left: 0;}
dl.object span.string{color:#8080dd;}
dl.object span.number{color:#dd8080;}
dl.object span.boolean{color:#8080dd;}
dl.object dd.key a{color:#c0c0c0;}
dl.object dd.key a.closed{color:#101010;font-weight: bolder;}

a.button{
	display: inline-block;
	padding: 5px 10px;
	border:1px solid #a0a0a0;
	border-radius: 3px;
	color: #333333;
	text-shadow: 0 1px 0 #ffffff;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#f0f0f0));
	background: -moz-linear-gradient(top, #fafafa, #f0f0f0);
}

span.switch{
	display: inline-block;
	height: 20px;
	width: 60px;
	border-radius: 10px;
	border: 1px solid #999999;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#ffffff));
	background: -moz-linear-gradient(top, #fafafa, #ffffff);
	position: relative;
}
span.switch a{
	display: block;
	position: absolute;
	height:20px;
	width: 20px;
	border-radius: 10px;
	border: 1px solid #999999;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#ffffff));
	background: -moz-linear-gradient(top, #fafafa, #ffffff);
	top: -1px;
	left: -1px;
}

ul.radio{overflow: auto;}
ul.radio li{float: left;}
ul.radio li a{
	display: inline-block;
	height: 25px;
	line-height: 25px;
	padding: 0 15px;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f0f0f0), to(#e0e0e0));
	background: -moz-linear-gradient(top, #f0f0f0, #e0e0e0);
	border-top: 1px solid #333333;
	border-bottom: 1px solid #333333;
	color: #1d111d;
}
ul.radio li:first-child{border-left:1px solid #333333;border-radius: 3px 0 0 3px;}
ul.radio li:last-child{border-right:1px solid #333333;border-radius: 0 3px 3px 0;}
ul.radio li.active a{
	background: -moz-linear-gradient(top, #d0d0d0, #cccccc);
}

ul.btn {
	padding:0;
	margin: 0 0 10px 0;
	overflow: auto;
}

ul.btn li{
	list-style-type: none;
	float: left;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4183c4), to(#4183c4));
	background-color: #4183c4;
	border-radius: 3px;
	margin-right:10px;
}

ul.btn li a{
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 0 15px;
	color: #f0f0f0;
	/*text-shadow: 0 1px 0 #0ba4e5;*/
}

ul.btn li a.add{
	padding-left: 32px;
	background-image: url('../img/bullet_add.png');
	background-position: 0 -0px;
	background-repeat: no-repeat;
}

ul.btn li a.edit{
	padding-left: 32px;
	background-image: url('../img/edit.png');
	background-position: 0 -0px;
	background-repeat: no-repeat;
}

td a.edit {
	display: inline-block;
	width: 30px;
	height: 30px;
	text-indent: -100000px;
	padding: 2px;
	background-image: url('../img/edit.png');
	background-color: transparent;
}

ul.auto-complete {
	display: none;
	position: absolute;
	z-index: 10000;
	border: 1px solid #363636;
	background-color: #ffffff;
	overflow: auto;
	width: 502px;
}
ul.auto-complete li {
	padding: 2px 5px;
	border-top: 1px solid #e9e9e9;
}
ul.auto-complete li a {
	display: block;
}